/*
 * @Author: gyh
 * @Date: 2024-04-30 15:54:16
 * @LastEditTime: 2024-04-30 16:21:25
 */
import type { pageParams } from '@/types/global'
import type { recommendItem } from '@/types/hot'
import { request } from '@/utils/request'

type recommendData = pageParams & { subType?: string }
export const getHotRecommendApi = (url: string, data?: recommendData) => {
  return request<recommendItem>({
    method: 'GET',
    url,
    data,
  })
}
